package com.jiazhong.shixi.bookstore.bean;
// 订单表对应的封装类
public class Order {
    // id
    private long id;
    // 用户id
    private long userId;
    // 总数量
    private Integer totalCount;
    // 总金额
    private java.math.BigDecimal totalAmount;
    // 0未付款 1已付款 2正在配送 3已签收 4正在退回 5 待支付
    private int status;
    // 创建时间
    private java.sql.Timestamp createTime;
    // 修改时间
    private java.sql.Timestamp updateTime;
    // 逻辑删除字段 1删除 0未删除(默认)
    private int isDeleted;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public Integer getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(Integer totalCount) {
        this.totalCount = totalCount;
    }

    public java.math.BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(java.math.BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public java.sql.Timestamp getCreateTime() {
        return createTime;
    }

    public void setCreateTime(java.sql.Timestamp createTime) {
        this.createTime = createTime;
    }

    public java.sql.Timestamp getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(java.sql.Timestamp updateTime) {
        this.updateTime = updateTime;
    }

    public int getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
    }
}
